You are here: Building the Model: Advanced Elements > Attributes > Cloning Attributes
Whenever one entity initiates the creation of other entities through a SPLIT AS, CREATE, or ORDER statement, or as the result of specifying multiple outputs in a routing, the attributes of the original entity are automatically copied to each newly created entity.
The following examples show two methods of splitting an incoming batch of material, called BatchA, into one Tote and six EntA’s. The first method uses a CREATE statement in the operation logic to create the new entities, called EntA. The original entity, BatchA, will have its name changed to Tote in the routing table. In the second example, both of the new entity types are created in the routing table, so no CREATE statement is needed in the operation logic. In both cases, the attributes attached to the original entity, BatchA, are duplicated in both Tote’s and the EntA’s attributes.